//
//  AutoCheckData.swift
//  Automobile
//
//  Created by erkebulan elzhan on 8/26/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.
//

import Foundation


struct CarGeneralData: Decodable {
    var engine_volume: String
    var origin_country: String
    var vehicle_category: String
    var color: String
    var engine_power_kwt: String
    var plated_weight: String
    var empty_weight: String
    var seating_count: String
}

struct AutoCheck: Decodable {
    var vin: String
    var mark: String
    var model: String
    var regnum: String
    var vehicle_year: Int
    var data: CarGeneralData?
    var message: String
    var dtp_number: Int
    var history_number: Int
    var report_price: String
}
